import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import {setupRouter} from './router';
import { createPinia, storeToRefs } from 'pinia';
import { setupStore } from './store';
import { ref, provide, computed } from 'vue'
import {accountApi} from '@/api/user'

// 创建实例
const setupAll = async () => {
  const app = createApp(App)

  setupStore(app)

  setupRouter(app)

  app.mount('#app')
}

setupAll()